import logging

class Tolls():
    def Log1(self):
        aa = logging.basicConfig(level=logging.DEBUG,filename='rizhi.log',filemode='w+',format='%(levelname)s %(filename)s')
        return aa
